package com.shi.constants;

import java.time.Duration;

public class RedisConstant {
    private static final String REDIS_KEY_PREFIX="";

    public static final String LOGIN_TOKEN_KEY="login:token:key:";
    public static final Duration DATA_TTL=Duration.ofMinutes(30);
    public static final Duration CHECK_CODE_TTL=Duration.ofMinutes(3);
    public static final String LOGIN_CHECK_CODE_EMAIL = REDIS_KEY_PREFIX+"login:check_code:email:";
    public static final String EMAIL_Check_CODE_FORGET_PASSWORD=REDIS_KEY_PREFIX+"email:check_code:forget_password:";
    public static final String EMAIL_CHECK_CODE_UPDATE_BIND_EMAIL=REDIS_KEY_PREFIX+"email:check_code:update_bind_email:";


}
